<template>
  <div>
    这是子组件
    {{ title }}
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      required: true
    }
  },
  setup(props, {attrs, slots, emit, expose}) {
    console.log(props, 111);
    console.log(attrs, 222);
    return {};
  },
};
</script>

<style lang="scss" scoped></style>
